﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ZeCloud.Resto55.Business;
using ZeCloud.Resto55.Business.Table;

namespace Resto55Business_WebRole
{
    public class ElementsToDisplay
    {
        public IEnumerable<Element> GetElementsToDisplay(string restoid)
        {
            RestoService RestoServ = BusinessFacade.CreerFacade().GetRestoService();
            return RestoServ.RechercherElementsPourResto(restoid);

        }
        public IEnumerable<DetailPrix> GetPricesToDisplay(string ElementId)
        {
            RestoService RestoServ = BusinessFacade.CreerFacade().GetRestoService();

            return RestoServ.RechercherPrixPourElement(ElementId);
        }
    }
}
